﻿@model StaffingSystem.EF.View_LeaveList

@{
    Layout = null;
}

<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title>请假管理</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <link href="~/Plugins/layui/css/layui.css" rel="stylesheet" />
</head>
<body overflow-y="scroll" ;>
    <form>
        <div style="text-align: center;">
            <div class="layui-form-item">
                <lable class="layui-form-label">工号</lable>
                <div class="layui-input-inline">
                    <input type="text" id="JobNumber" value="@Model.JobNumber" class="layui-input" />
                </div>
            </div>

            <div class="layui-form-item">
                <lable class="layui-form-label">请假人</lable>
                <div class="layui-input-inline">
                    <input type="text" value="@Model.Name" class="layui-input" />
                </div>
        
                <lable class="layui-form-label">性别</lable>
                <div class="layui-input-inline">
                    <input type="text" value='@(Model.Sex.ToString()=="True"?"男":"女")' class="layui-input" id="Sex" />
                </div>
            </div>

            <div class="layui-form-item">
                <lable class="layui-form-label">请假类型</lable>
                <div class="layui-input-inline">
                    <input type="text" value="@Model.TypeName" class="layui-input" />
                </div>
            </div>
           

            <div class="layui-form-item">
                <lable class="layui-form-label">请假原因</lable>
                <div class="layui-input-inline">
                    <input type="text" value="@Model.LeaveReason" class="layui-input" />
                </div>
            </div>

            <div class="layui-form-item">
                <lable class="layui-form-label">开始时间</lable>
                <div class="layui-input-inline">
                    <input type="text" value="@Model.LeaveTime.ToShortDateString()" class="layui-input" />
                </div>
        
                <lable class="layui-form-label">结束时间</lable>
                <div class="layui-input-inline">
                    <input type="text" value="@Model.EndTime.ToShortDateString()" class="layui-input" />
                </div>
            </div>

            <div class="layui-form-item">
                <lable class="layui-form-label">审批状态</lable>
                <div class="layui-input-inline">
                    <input type="text" value="@Model.ApproveResult" class="layui-input" />
                </div>
            </div>

            <div class="layui-form-item">
                <lable class="layui-form-label">备注</lable>
                <div class="layui-input-inline">
                    <input type="text" value="@Model.Remark" class="layui-input" />
                </div>
            </div>
            <button id="btnClose" class="layui-btn layui-btn-normal layui-btn-radius">关闭页面</button>
        </div>
    </form>
        <script src="~/Plugins/layui/layui.js"></script>
    <script src="~/Scripts/ApplyMange/LeaveList.js"></script>
</body>
</html>